uint8 mode
uint8 custom_value